<?php

namespace App\Http\Controllers\Admin\Cocktail;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

use App\Model\Cocktail\Search;

class SearchController extends Controller
{
  //
  public function list()
  {
    $all = Search::where('id','>',0);

    $all = $all->orderBy('id','desc')->paginate(20);

    return view('admin/cocktail/search/list')
           ->withall($all);
  }
}
